.class final Lcom/estrongs/android/biz/cards/cardfactory/i$a;
.super Ljava/lang/Object;
.source "CmsCardHttpUtils.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/biz/cards/cardfactory/i;->a(Ljava/util/List;Lcom/estrongs/android/biz/cards/cardfactory/b;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = null
.end annotation


# instance fields
.field final synthetic a:Ljava/util/List;

.field final synthetic b:Lcom/estrongs/android/biz/cards/cardfactory/b;


# direct methods
.method constructor <init>(Ljava/util/List;Lcom/estrongs/android/biz/cards/cardfactory/b;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/biz/cards/cardfactory/i$a;->a:Ljava/util/List;

    iput-object p2, p0, Lcom/estrongs/android/biz/cards/cardfactory/i$a;->b:Lcom/estrongs/android/biz/cards/cardfactory/b;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 7

    const/4 v0, 0x0

    const-string v1, ""

    move-object v3, v1

    const/4 v2, 0x0

    :goto_0
    const/4 v4, 0x3

    if-ge v2, v4, :cond_1

    .line 1
    invoke-static {}, Lcom/estrongs/android/biz/cards/cardfactory/i;->a()Ljava/lang/String;

    move-result-object v4

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    const-string v6, "load "

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 2
    :try_start_0
    invoke-static {}, Lcom/estrongs/android/biz/cards/cardfactory/i;->b()Ljava/lang/String;

    move-result-object v3

    .line 3
    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    if-nez v4, :cond_0

    goto :goto_1

    :catch_0
    move-exception v4

    .line 4
    invoke-virtual {v4}, Ljava/lang/Exception;->printStackTrace()V

    .line 5
    invoke-static {}, Lcom/estrongs/android/biz/cards/cardfactory/i;->a()Ljava/lang/String;

    move-result-object v4

    const-string v5, "load exception"

    invoke-static {v4, v5}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 6
    :cond_1
    :goto_1
    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    const-string v4, "key_msg_box_card_rate_list"

    if-eqz v2, :cond_2

    .line 7
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v2

    invoke-virtual {v2, v4, v1}, Lcom/estrongs/android/pop/o;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    goto :goto_2

    .line 8
    :cond_2
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v1

    invoke-virtual {v1, v4, v3}, Lcom/estrongs/android/pop/o;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 9
    :goto_2
    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_3

    .line 10
    :try_start_1
    iget-object v1, p0, Lcom/estrongs/android/biz/cards/cardfactory/i$a;->a:Ljava/util/List;

    invoke-static {v1, v3}, Lcom/estrongs/android/biz/cards/cardfactory/i;->a(Ljava/util/List;Ljava/lang/String;)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    const/4 v0, 0x1

    goto :goto_3

    :catch_1
    move-exception v1

    .line 11
    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    .line 12
    invoke-static {}, Lcom/estrongs/android/biz/cards/cardfactory/i;->a()Ljava/lang/String;

    move-result-object v1

    const-string v2, "parse exception"

    invoke-static {v1, v2}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V

    :cond_3
    :goto_3
    if-eqz v0, :cond_4

    .line 13
    invoke-static {}, Lcom/estrongs/android/biz/cards/cardfactory/i;->a()Ljava/lang/String;

    move-result-object v0

    const-string v1, "load suc"

    invoke-static {v0, v1}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_4

    .line 14
    :cond_4
    invoke-static {}, Lcom/estrongs/android/biz/cards/cardfactory/i;->a()Ljava/lang/String;

    move-result-object v0

    const-string v1, "load failed"

    invoke-static {v0, v1}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 15
    :goto_4
    iget-object v0, p0, Lcom/estrongs/android/biz/cards/cardfactory/i$a;->b:Lcom/estrongs/android/biz/cards/cardfactory/b;

    iget-object v1, p0, Lcom/estrongs/android/biz/cards/cardfactory/i$a;->a:Ljava/util/List;

    invoke-interface {v0, v1}, Lcom/estrongs/android/biz/cards/cardfactory/b;->a(Ljava/util/List;)V

    return-void
.end method
